package com.daifeng.gulimall.order.feign;

import com.daifeng.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "mall-member")
public interface menberServiceFeign {

    @RequestMapping("/member/memberreceiveaddress/getaddressByid/{id}")
    public R getaddressByid(@PathVariable("id") Long id);

    @RequestMapping("/member/memberreceiveaddress/Fare/{memberId}")
    public R Fare(@PathVariable("memberId") Long  memberId);
}
